package com.kehutong.house.entity;

import org.coraframework.orm.Entity;
import org.coraframework.orm.annotation.Column;
import org.coraframework.orm.annotation.Table;
import org.coraframework.orm.annotation.UnSave;

/**
 * @author liulei
 * @createTime 2021年6月29日15:32
 */
@Table(value="t_equipment_type")
public class EquipmentType extends Entity {
    private static final long serialVersionUID = 5501827289826182316L;

    protected EquipmentType(String id) {
        super(id);
    }
    @Column(comment="设备类型名称")
    private String deviceTypeName;

    @Column(comment="设备分类数")
    private Integer amount;

    @Column(comment="设备类型开关")
    private Boolean typeStatus;

    @Column(comment="排列顺序")
    private String sequence;


    @Column(comment="逻辑删除")
    private boolean deleted;

    @UnSave
    private int count;

    public String getDeviceTypeName() {
        return deviceTypeName;
    }

    public void setDeviceTypeName(String deviceTypeName) {
        this.deviceTypeName = deviceTypeName;
    }

    public Integer getAmount() {
        return amount;
    }

    public void setAmount(Integer amount) {
        this.amount = amount;
    }

    public Boolean getTypeStatus() {
        return typeStatus;
    }

    public void setTypeStatus(Boolean typeStatus) {
        this.typeStatus = typeStatus;
    }

    public String getSequence() {
        return sequence;
    }

    public void setSequence(String sequence) {
        this.sequence = sequence;
    }

    public boolean isDeleted() {
        return deleted;
    }

    public void setDeleted(boolean deleted) {
        this.deleted = deleted;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

}
